public class Date {
    private int year;
    private int month;
    private int day;
    public void setDate(int year,int month,int day)
    {
       this.year=year;
       this.month=month;
       this.day=day;
    }
    public void printDate()
    {
        System.out.println(this.year+"/"+this.month+"/"+this.day);
    }

    public static void main(String[] args) {
        Date date1=new Date();
        date1.setDate(2025,3,12);
        date1.printDate();
    }
}
